<ul class="tab">
    <li class="<?php if($_GET['render'] == 'reg') echo "curr";else echo "line";?>"> <?php echo CHtml::link('邮箱注册', array('hymember/reg/','render'=>'reg')) ?></li>
    <li class="<?php if($_GET['render'] == 'mobilereg') echo "curr";else echo "line";?>"><?php echo CHtml::link('手机注册', array('hymember/reg/','render'=>'mobilereg')) ?></li>
    <li class="<?php if($_GET['render'] == 'toreg') echo "curr";else echo "line";?>"><?php echo CHtml::link('用户名注册', array('hymember/reg/','render'=>'toreg')) ?>
                 </li>
</ul>